package ch17_iterator;

/**
 * 容器的可替换性
 *
 * @author guodd
 * @version 1.0
 */
public interface Collection<T> {
    void add(T o);

    int size();

    Iterator iterator();
}
